package com.zn.feignClient;

import com.alibaba.fastjson.JSONObject;
import com.zn.vo.Message;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(value = "50etf-homepage-server")
public interface HomePageCallbackClient {

    @RequestMapping(value = "/agreement/customerKnownAgreement",method = RequestMethod.POST)
    ResponseEntity<Message> customerKnownAgreement(@RequestBody JSONObject jsonObject);

    @RequestMapping(value = "/bestSign/getAppCustomerBestSignStatus",method = RequestMethod.POST)
    ResponseEntity<Message> getAppCustomerBestSignStatus(@RequestBody JSONObject jsonObject);
}